package br.com.vilababy.sigvb.repository;

import java.util.ArrayList;
import java.util.List;

import br.com.vilababy.sigvb.dao.AbstractSIGVBDAO;


public abstract class AbstractSIGVBRepository<T> implements ISIGVBRepository<T> {
	
	/**
     * @author Diego Patrick da Silva Santos 
     */
	private AbstractSIGVBDAO<T> dao;

	public AbstractSIGVBRepository(AbstractSIGVBDAO<T> dao) {
		this.dao = dao;
	}
	
	protected AbstractSIGVBDAO<T> getDao() {
		return this.dao; 
	}
	
	@Override
	public List<T> listarTodos() {
		return new ArrayList<T>();
	}
}
